<?php

class Control_Model_Form_GoogleLink extends Zend_Form {

    public function __construct($options = null) {
        parent::__construct($options);
        $this->setName('GoogleLink');

        $link = new Zend_Form_Element_Text('link');
        $link->setLabel('Link google maps:')
                ->setAttrib('size', 50);

        $googleLink = new Zend_Form_Element_Hidden('googleLink');
        $googleLink->setValue('GoogleLink');

        $submit = new Zend_Form_Element_Submit('submit');
        $submit->setAttrib('id', 'submitbutton');

        $this->addElements(array($link, $googleLink, $submit));
    }

}